<template>
  <li class="category_right_li" @click="getsT">
    <span>{{name}}</span>
    <span>{{count}}</span>
  </li>
</template>

<script>
  export default {
    name: "ListTwo",
    data() {
      return {

      }
    },
    props: {
      name: {
        type: String,
        default: "",
      },
      count: {
        type: Number,
        default: 0,
      }
    },
    methods: {
      getsT() {
        return this.$emit('getsT', {

        })
      }
    }
  }
</script>

<style lang="less" scoped>
  .category_right_li {
    display: flex;
    padding: 18px 15px;
    justify-content: space-between;
    border-bottom: 1px solid #e4e4e4;
    line-height: 40px;
  }

  .category_right_li span {
    font-size: 20px;
    color: #666;
  }
</style>